Backport: shikra WCN3988 PMU, WCN39xx pwrseq, bt_gpio_required fix#817
Backport: shikra WCN3988 PMU, WCN39xx pwrseq, bt_gpio_required fix#817shuaz-shuai wants to merge 5 commits into
Conversation
2c9f0a7 to
32b6e76
Compare
PR #817 — validate-patchPR: #817
Final Summary
|
PR #817 — checker-log-analyzerPR: #817
Detailed report: Full report
|
32b6e76 to
d1554ba
Compare
PR #817 — validate-patchPR: #817
Final Summary
|
PR #817 — checker-log-analyzerPR: #817
Detailed report: Full report
|
d1554ba to
586d36e
Compare
PR #817 — validate-patchPR: #817
Final Summary
|
PR #817 — checker-log-analyzerPR: #817
Detailed report: Full report
|
02dbf9c to
c5303b1
Compare
|
Hi Salendarsingh Gaud (@sgaud-quic) Updated. The prefix issue was caused by one of the changes, which was implemented as a workaround. |
PR #817 — validate-patchPR: #817
Final Summary
|
PR #817 — checker-log-analyzerPR: #817
Detailed report: Full report
|
c5303b1 to
f72c2d2
Compare
PR #817 — validate-patchPR: #817
Final Summary
|
PR #817 — checker-log-analyzerPR: #817
Detailed report: Full report
|
…upply routing Align with latest upstream submission by adding the wcn3988-pmu node, routing bluetooth/wifi supplies through PMU child regulators, adding sw_ctrl pinctrl and bluetooth compatible to the shared dtsi, and fixing the wifi firmware-name to "shikra" across all EVK variants. Link: https://lore.kernel.org/all/20260714-shikra-dt-m1-v6-10-bee265d3499b@oss.qualcomm.com/ Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
…WCN39xx WCN3990 and other similar WiFi/BT chips incorporate a simple on-chip PMU (clearly described as such in the documentation). Provide DT schema covering other Qualcomm WiFi/BT chips to cover these devices too. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Acked-by: Mark Brown <broonie@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260106-wcn3990-pwrctl-v2-1-0386204328be@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> (cherry picked from commit a5fae42) (cherry picked from commit 7234b9c)
The WCN39xx family of WiFi/BT chips incorporates a simple PMU, spreading voltages over internal rails. Implement power sequencing support for this generation of WCN chips. Unlike later devices, they don't have separate enable GPIO lines, letting the chip figure out the necessary parts on its own. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260106-wcn3990-pwrctl-v2-5-0386204328be@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> (cherry picked from commit 0eb85f4) (cherry picked from commit 92ad19f)
The WCN39xx family of WiFi/BT chips incorporates a simple PMU, spreading voltages over internal rails. Implement support for using powersequencer for this family of QCA devices in addition to using regulators. Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9f168e4de5fd43766f6d49b393f445be805c1e05 (cherry picked from commit 9f168e4)
…nable GPIO Add a bt_gpio_required flag to the per-platform data to indicate that a chip's BT enable path requires a dedicated GPIO. Only skip matching the "bluetooth" device node when this flag is set and bt_gpio is absent. Previously the bt_gpio check was applied unconditionally, which caused chips like WCN3990 that have no separate BT/WLAN enable pins by design to fail matching even when bt-enable GPIO is legitimately absent from the DT. Set bt_gpio_required for WCN6855 and WCN7850 which do require a dedicated BT enable GPIO. CRs-Fixed: 4602678 Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
f72c2d2 to
bc49a08
Compare
PR #817 — validate-patchPR: #817
Final Summary
|
PR #817 — checker-log-analyzerPR: #817
Detailed report: Full report
|
🔨 Build Failure Analysis — PR #817PR: #817 VerdictNo compilation errors found. The build failure was caused by a network connectivity issue when downloading systemd-boot-efi package from ports.ubuntu.com, not by any code introduced in this PR. The kernel and all device tree files compiled successfully. Build Status Summary
Root CauseThe workflow failed at the post-build packaging stage when attempting to download
This is a transient infrastructure issue unrelated to the PR changes. PR Changes AnalysisThe PR modifies only device tree source files for Shikra boards:
All modified device tree files compiled successfully:
📎 Detailed analysis: Full report |
|
Hi Salendarsingh Gaud (@sgaud-quic) |
Test Matrix
|
Mention all the PR's in the CR that are bringing these changes to mainline.
This is not yet approved completely. |
I will update
This is not yet approved completely. |
Hi Salendarsingh Gaud (@sgaud-quic), Added Mainline PRs in the CR for the FROMLIST and WORKAROUND changes. The three UPSTREAM commits are pulled directly from Mainline and don't have a separate PR.
|
Bringing shikra WCN3988 PMU support and pwrseq-based BT/WiFi power sequencing (WCN39xx and WCN7850
families) in line with upstream.
Included commits
FROMLIST: arm64: dts: qcom: shikra: Add WCN3988 PMU and fix WiFi/BT supply routing
Adds the wcn3988-pmu node, routes bluetooth/wifi supplies through PMU
child regulators, adds sw_ctrl pinctrl and bluetooth compatible to the
shared dtsi, and fixes the wifi firmware-name to "shikra" across all
EVK variants.
Link: https://lore.kernel.org/all/20260714-shikra-dt-m1-v6-10-bee265d3499b@oss.qualcomm.com/
UPSTREAM: regulator: dt-bindings: qcom,wcn3990-pmu: describe PMUs on WCN39xx
Adds the DT schema describing the on-chip PMU present on WCN3990 and
similar WiFi/BT chips.
Link: https://lore.kernel.org/r/20260106-wcn3990-pwrctl-v2-1-0386204328be@oss.qualcomm.com
UPSTREAM: power: sequencing: qcom-wcn: add support for WCN39xx
Implements power sequencing support for the WCN39xx generation of WCN
chips, which (unlike later devices) have no separate enable GPIO lines.
Link: https://lore.kernel.org/r/20260106-wcn3990-pwrctl-v2-5-0386204328be@oss.qualcomm.com
UPSTREAM: Bluetooth: qca: enable pwrseq support for WCN39xx devices
Implements pwrseq support for the WCN39xx family (simple PMU spreading
voltages over internal rails), in addition to the existing regulator-based
path.
Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9f168e4de5fd43766f6d49b393f445be805c1e05
WORKAROUND: power: sequencing: qcom-wcn: skip BT devices without bt-enable GPIO
Adds a
bt_gpio_requiredflag so the bt_gpio absence check only appliesto chips that actually require a dedicated BT enable GPIO (WCN6855,
WCN7850). Fixes WCN3990 (no separate BT/WLAN enable pins by design)
failing to match when bt-enable GPIO is legitimately absent from the DT.
CRs-Fixed: 4602678